package com.btkjgc.models;
// default package

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.format.annotation.DateTimeFormat;


/**
 * ConventionalPostage entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "conventional_postage_t")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ConventionalPostage extends Base  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String name;
     private Integer unitprice;
     private Integer type;
     private String cityids;
     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") 
     private Date beginTime;
     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") 
     private Date endTime;
     private Integer del;
     private Date operdate;
     private Date createdate;
     private Integer operid;
     private Integer status;
     private String provinceids;

 
   
    // Property accessors
 	@Id  
 	@Column(name="id",unique=true)  
    @GeneratedValue(strategy=GenerationType.AUTO)  
    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

 
    public Integer getUnitprice() {
		return unitprice;
	}

	public void setUnitprice(Integer unitprice) {
		this.unitprice = unitprice;
	}

	public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }

    public String getCityids() {
        return this.cityids;
    }
    
    public void setCityids(String cityids) {
        this.cityids = cityids;
    }

   

    public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getDel() {
        return this.del;
    }
    
    public void setDel(Integer del) {
        this.del = del;
    }

    public Date getOperdate() {
        return this.operdate;
    }
    
    public void setOperdate(Date operdate) {
        this.operdate = operdate;
    }

    public Date getCreatedate() {
        return this.createdate;
    }
    
    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Integer getOperid() {
        return this.operid;
    }
    
    public void setOperid(Integer operid) {
        this.operid = operid;
    }

    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }


	public String getProvinceids() {
		return this.provinceids;
	}


	public void setProvinceids(String provinceids) {
		this.provinceids = provinceids;
	}
   








}